package com.graduation.sports.contract;

import com.graduation.sports.bean.UserInfo;

/**
 * Created by apc_allen
 * date : 2/16/21
 * description :
 */
public interface LoginContract {
    interface Presenter{
        void login(String name, String pwd);

    }

    interface View{
        void onLoginSuccess(UserInfo o);

        void onLoginFailed(String description);
    }
}
